package com.alm.token.ui.data.bean;

import com.alm.token.base.BaseAdapter;

import java.util.List;

public class EggWalletLogData  {


    /**
     * msg : 成功
     * status : 0
     * data : {"code":0,"count":3,"data":[{"id":1,"userId":23252,"money":0.5,"moneyType":1,"channelType":1,"createTime":1557376613000,"updateTime":null,"beforeMoney":1.5,"afterMoney":2,"channelTypeStr":"彩蛋","moneyTypeStr":"sETH"}],"msg":""}
     * success : true
     * timestamp : 1557384361633
     * total : null
     */

    private String msg;
    private int status;
    private DataBeanX data;
    private boolean success;
    private long timestamp;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBeanX {
        /**
         * code : 0
         * count : 3
         * data : [{"id":1,"userId":23252,"money":0.5,"moneyType":1,"channelType":1,"createTime":1557376613000,"updateTime":null,"beforeMoney":1.5,"afterMoney":2,"channelTypeStr":"彩蛋","moneyTypeStr":"sETH"}]
         * msg :
         */

        private int code;
        private int count;
        private String msg;
        private List<DataBean> data;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean extends BaseAdapter.BaseItem {
            /**
             * id : 1
             * userId : 23252
             * money : 0.5
             * moneyType : 1
             * channelType : 1
             * createTime : 1557376613000
             * updateTime : null
             * beforeMoney : 1.5
             * afterMoney : 2
             * channelTypeStr : 彩蛋
             * moneyTypeStr : sETH
             */

            private int id;
            private int userId;
            private double money;
            private int moneyType;
            private int channelType;
            private long createTime;
            private Object updateTime;
            private double beforeMoney;
            private double afterMoney;
            private String channelTypeStr;
            private String moneyTypeStr;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }

            public int getMoneyType() {
                return moneyType;
            }

            public void setMoneyType(int moneyType) {
                this.moneyType = moneyType;
            }

            public int getChannelType() {
                return channelType;
            }

            public void setChannelType(int channelType) {
                this.channelType = channelType;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }

            public double getBeforeMoney() {
                return beforeMoney;
            }

            public void setBeforeMoney(double beforeMoney) {
                this.beforeMoney = beforeMoney;
            }

            public double getAfterMoney() {
                return afterMoney;
            }

            public void setAfterMoney(double afterMoney) {
                this.afterMoney = afterMoney;
            }

            public String getChannelTypeStr() {
                return channelTypeStr;
            }

            public void setChannelTypeStr(String channelTypeStr) {
                this.channelTypeStr = channelTypeStr;
            }

            public String getMoneyTypeStr() {
                return moneyTypeStr;
            }

            public void setMoneyTypeStr(String moneyTypeStr) {
                this.moneyTypeStr = moneyTypeStr;
            }
        }
    }
}
